package br.com.puertorico.model.querybuilder.exceptions;

import br.com.puertorico.common.exceptions.SystemException;

/**
 *
 * @author daniel
 * @version 1.0.0
 */
public class InvalidCriteriaQueryException extends SystemException {

	private static final long serialVersionUID = -4106673958338191114L;

	private boolean hasOrderBy;

	private boolean hasNestedSelect;

	private boolean hasGroupBy;

	/**
	 * @return the hasOrderBy
	 */
	public boolean isHasOrderBy() {
		return hasOrderBy;
	}

	/**
	 * @param hasOrderBy
	 *            the hasOrderBy to set
	 */
	public void setHasOrderBy(boolean hasOrderBy) {
		this.hasOrderBy = hasOrderBy;
	}

	/**
	 * @return the hasNestedSelect
	 */
	public boolean isHasNestedSelect() {
		return hasNestedSelect;
	}

	/**
	 * @param hasNestedSelect
	 *            the hasNestedSelect to set
	 */
	public void setHasNestedSelect(boolean hasNestedSelect) {
		this.hasNestedSelect = hasNestedSelect;
	}

	/**
	 * @return the hasGroupBy
	 */
	public boolean isHasGroupBy() {
		return hasGroupBy;
	}

	/**
	 * @param hasGroupBy
	 *            the hasGroupBy to set
	 */
	public void setHasGroupBy(boolean hasGroupBy) {
		this.hasGroupBy = hasGroupBy;
	}

}
